<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>小森的博客</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  
  
  
  
  <meta property="og:type" content="website">
<meta property="og:title" content="小森的博客">
<meta property="og:url" content="http://github.com/lgsdaredevil/index.html">
<meta property="og:site_name" content="小森的博客">
<meta property="og:locale" content="zh_CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="小森的博客">
  
    <link rel="alternate" href="/atom.xml" title="小森的博客" type="application/atom+xml">
  

  

  <link rel="icon" href="/newblog/css/images/mylogo.jpg">
  <link rel="apple-touch-icon" href="/newblog/css/images/mylogo.jpg">
  
    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css">
  <link href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
  <style type="text/css">
    @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/9749f0/00000000000000000001008f/27/l?subset_id=2&fvd=n5) format("woff2");font-weight:500;font-style:normal;}
    @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/90cf9f/000000000000000000010091/27/l?subset_id=2&fvd=n7) format("woff2");font-weight:500;font-style:normal;}
    @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/8a5494/000000000000000000013365/27/l?subset_id=2&fvd=n4) format("woff2");font-weight:lighter;font-style:normal;}
    @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/d337d8/000000000000000000010095/27/l?subset_id=2&fvd=i4) format("woff2");font-weight:400;font-style:italic;}</style>
  <link rel="stylesheet" href="/newblog/css/style.css">

  <script src="/newblog/js/jquery-3.1.1.min.js"></script>
  <script src="/newblog/js/bootstrap.js"></script>

  <!-- Bootstrap core CSS -->
  <link rel="stylesheet" href="/newblog/css/bootstrap.css" >

  
    <link rel="stylesheet" href="/newblog/css/home.css" >
  

  

  

  
  
  
    <link rel="stylesheet" href="/newblog/css/vdonate.css" >
  

</head>



  <body>


  
    <header id="header">

	<!-- 背景图模式 -->
	

    
      <div id="intrologo" class="intro-logo" style="background-position:center; background-repeat:no-repeat; background-image: url(); background-size: auto 100%;">

      <!-- Support rolling -->  
        
        <section class="awSlider">
          <div class="carousel slide carousel-fade " data-ride="carousel">

            <!-- Wrapper for slides -->
            <div class="carousel-inner">
               
                  
                    <div class="item active">
                  
                    <img id="carousel-img0" src="/newblog/css/images/home-bg.jpg">
                  </div>

                  <!-- 自适应大图 -->
                  <script>
                      var img0 = new Image();
                      var imageTag0 = document.getElementById("carousel-img0");
                      img0.src = imageTag0.src;
                      img0.onload=function(){
                        if (img0.width / img0.height <= document.body.clientWidth / document.body.clientHeight) {
                          imageTag0.style.width = document.body.clientWidth + "px";
                        } else {
                          imageTag0.style.height = document.body.clientHeight + "px";
                          imageTag0.style.marginLeft = -(document.body.clientHeight * img0.width / img0.height - document.body.clientWidth) / 2 + "px";
                        }
                      };
                  </script>
                
                  
                    <div class="item">
                  
                    <img id="carousel-img1" src="/newblog/css/images/sample.jpg">
                  </div>

                  <!-- 自适应大图 -->
                  <script>
                      var img1 = new Image();
                      var imageTag1 = document.getElementById("carousel-img1");
                      img1.src = imageTag1.src;
                      img1.onload=function(){
                        if (img1.width / img1.height <= document.body.clientWidth / document.body.clientHeight) {
                          imageTag1.style.width = document.body.clientWidth + "px";
                        } else {
                          imageTag1.style.height = document.body.clientHeight + "px";
                          imageTag1.style.marginLeft = -(document.body.clientHeight * img1.width / img1.height - document.body.clientWidth) / 2 + "px";
                        }
                      };
                  </script>
                
                  
                    <div class="item">
                  
                    <img id="carousel-img2" src="https://source.unsplash.com/collection/954550/1920x1080">
                  </div>

                  <!-- 自适应大图 -->
                  <script>
                      var img2 = new Image();
                      var imageTag2 = document.getElementById("carousel-img2");
                      img2.src = imageTag2.src;
                      img2.onload=function(){
                        if (img2.width / img2.height <= document.body.clientWidth / document.body.clientHeight) {
                          imageTag2.style.width = document.body.clientWidth + "px";
                        } else {
                          imageTag2.style.height = document.body.clientHeight + "px";
                          imageTag2.style.marginLeft = -(document.body.clientHeight * img2.width / img2.height - document.body.clientWidth) / 2 + "px";
                        }
                      };
                  </script>
                
            </div>

            <!-- Controls -->
            <a class="left carousel-control" href=".carousel" role="button" data-slide="prev">
              <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
              <span class="sr-only">Geri</span>
            </a>
            <a class="right carousel-control" href=".carousel" role="button" data-slide="next">
              <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
              <span class="sr-only">İleri</span>
            </a>
          </div>
        </section>
        <script>
          $('section.awSlider .carousel').carousel({
              pause: '',
              interval: 5000
          });
          var startImage = $('section.awSlider .item.active > img').attr('src');
          $('section.awSlider .carousel').on('slid.bs.carousel', function () {
              var bscn = $(this).find('.item.active > img').attr('src');
              $('section.awSlider > img').attr('src', bscn);
          });
        </script>
      

    
 


    <canvas width="100%" height="100%"></canvas>
    <script>
      var c = document.getElementsByTagName('canvas')[0],
          x = c.getContext('2d'),
          w = window.innerWidth,
          h = window.innerHeight,
          pr = window.devicePixelRatio || 1,
          f = 90,
          q,
          m = Math,
          r = 0,
          u = m.PI*2,
          v = m.cos,
          z = m.random
      c.width = w*pr
      c.height = h*pr
      x.scale(pr, pr)
      x.globalAlpha = 0.6

      <!-- 折线Polyline背景 -->
      
    </script>
    

    
      <div id="homelogo" class="homelogo" style="background: rgba(255,255,255,1);"> 
    

        
          <div class="homelogoback"  style="border: 1px solid #404040;" >
            <h1><a href="#content" id="logo">小森的博客</a></h1>
            <h3></h3>
            <h5></h5>
            <!-- <p><a href="https://github.com/iTimeTraveler" target="_blank">Github</a></p> -->
          </div>
        
    
    </div>
  </div>

  <!-- 自适应主页背景大图 -->
  

 <!-- home_logo_image居中 -->
 
    <script>
        var homelogodiv = document.getElementById("homelogo");
        if (document.all.homelogo.offsetWidth > document.body.clientWidth) {
          homelogodiv.style.width = document.body.clientWidth + "px";
          homelogodiv.style.marginLeft = document.body.clientWidth * -0.5 + "px";
        } else {
          homelogodiv.style.width = homelogodiv.clientWidth  + "px";
          homelogodiv.style.marginLeft = (homelogodiv.clientWidth)  * -0.5 + "px";
        }
    </script>
  

  <div class="intro-navigate">
      <p class="navigater-list">
        
          <a id="beautifont" class="main-nav-link" href="/newblog/">主页</a>
        
          <a id="beautifont" class="main-nav-link" href="/newblog/archives">文章</a>
        
          <a id="beautifont" class="main-nav-link" href="/newblog/categories">分类</a>
        
          <a id="beautifont" class="main-nav-link" href="/newblog/tags">标签</a>
        
          <a id="beautifont" class="main-nav-link" href="/newblog/about">关于</a>
        
      </p>
  </div>

</header>
  
  <div id="container">
    <div id="wrap">
      
            
      <div id="content" class="outer">
        
          <section id="main" style="float:none;">
  
    <article id="post-简洁又快速地处理集合——java8 Stream（下）"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（下）/">【转】简洁又快速地处理集合——java8 Stream（下）</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（下）/" class="article-date">
	  <time datetime="2018-08-19T02:26:04.000Z" itemprop="datePublished">2018-08-19</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章/">技术文章</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          
作者：Howie_Y


主页：www.jianshu.com/u/79638e5f0743

上一篇文章我讲解 Stream 流的基本原理，以及它的基本方法使用，本篇文章我们继续讲解流的其他操作 
值得注意的是：学习 Stream 之前必须先学习 lambda 的相关知识。本文也假设读者已经掌握 lambda 的相关知识。
本篇文章主要内容：

一种特化形式的流——数值流
Optional 类
如何构建一个流
collect 方法
并行流相关问题

一. 数值流
前面介绍的如
1int...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（下）/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-简洁又快速地处理集合——java8 Stream（上）"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（上）/">【转】简洁又快速地处理集合——java8 Stream（上）</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（上）/" class="article-date">
	  <time datetime="2018-08-19T02:06:50.000Z" itemprop="datePublished">2018-08-19</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章/">技术文章</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          
作者：Howie_Y


主页：www.jianshu.com/u/79638e5f0743

Java 8 发布至今也已经好几年过去，如今 Java 也已经向 11 迈去，但是 Java 8 作出的改变可以说是革命性的，影响足够深远，学习 Java 8 应该是 Java 开发者的必修课。
今天给大家带来 Java 8 Stream 讲解，为什么直接讲这个，是因为只要你学完，立刻就能上手，并能让它在你的代码中大展身手。
值得注意的是：学习 Stream 之前必须先学习 lambda 的相...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/08/19/简洁又快速地处理集合——java8 Stream（上）/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-java虚拟机笔记（三）"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/08/11/java虚拟机笔记（三）/">java虚拟机笔记（三）</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/08/11/java虚拟机笔记（三）/" class="article-date">
	  <time datetime="2018-08-11T00:55:58.000Z" itemprop="datePublished">2018-08-11</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章/">技术文章</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          虚拟机类加载机制类加载时机​    类从被加载到虚拟机内存开始到卸载内存为止，整个生命周期包括：加载、验证、准备、解析、初始化、使用和卸载
​    类必须立即初始化情况：

遇到 new、getstatic、putstatic和invokestatic这4条字节码指令时。
使用java.lang.reflect包方法对类进行反射调用时候。
当初始化一个类的时候，欺父类没有被初始化要先初始化其父类。
虚拟机启动时用户需要指定要执行的主类（包括main方法），虚拟机会先初始化这个主类。
如果...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/08/11/java虚拟机笔记（三）/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-java虚拟机笔记（二）"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/08/04/java虚拟机笔记（二）/">java虚拟机笔记（二）</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/08/04/java虚拟机笔记（二）/" class="article-date">
	  <time datetime="2018-08-04T01:35:56.000Z" itemprop="datePublished">2018-08-04</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章/">技术文章</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          判断对象是否存活一、引用计数算法​    给对象中添加一个引用计数器，每当有一个地方引用他时就给计数器值加一；当引用失效时，计数器值就减一；任何时刻计数器为0的对象就是不可能再被使用的。
​    缺点：很难解决对象之间互相循环引用的问题。
二、可达性分析算法​    以“GC Root”对象为起始点，从此节点向下搜索，搜索所走的路径成为引用链，当一个对象和GC Root之间没有任何引用链的时候，则此对象为不可用对象。

如上图所示，Object1到Object4与GC Root之间存在引...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/08/04/java虚拟机笔记（二）/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-java虚拟机笔记（一）"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/07/28/java虚拟机笔记（一）/">java虚拟机笔记（一）</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/07/28/java虚拟机笔记（一）/" class="article-date">
	  <time datetime="2018-07-28T00:43:53.000Z" itemprop="datePublished">2018-07-28</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章/">技术文章</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          JDK和JRE区别​    1、一般把Java程序设计语言，java虚拟机，java API类库这三部分统称为JDK（Java Development Kit），JDK是用于支持Java程序开发的最小环境。
​    2、Java API类库中Java SE API子集和Java虚拟机这两部分统称为JRE（Java Runtime Environment），JRE是支持Java程序运行的标准环境。
Java虚拟机内存区域一、程序计数器​    可以看做当前线程所执行的字节码的行号指示器。为...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/07/28/java虚拟机笔记（一）/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-spring-boot使用@Async异步任务"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/07/17/spring-boot使用@Async异步任务/">spring boot使用@Async异步任务</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/07/17/spring-boot使用@Async异步任务/" class="article-date">
	  <time datetime="2018-07-17T03:04:05.000Z" itemprop="datePublished">2018-07-17</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/技术文章项目/">技术文章项目</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          github项目地址：https://github.com/lgsdaredevil/asyncTest
开启异步任务在应用主类中添加@EnableAsync注解
写异步任务方法12345678910111213@Async   public Future&lt;String&gt; ansync(String name)&#123;       try &#123;           Thread.sleep(10000);           logger.info("这里是异步方法...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/07/17/spring-boot使用@Async异步任务/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-hello-world"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/07/13/hello-world/">Hello World</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/07/13/hello-world/" class="article-date">
	  <time datetime="2018-07-13T11:52:49.718Z" itemprop="datePublished">2018-07-13</time>
	</a>

      
      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/07/13/hello-world/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  
    <article id="post-部署hexo博客到github"  class="article article-type-post" itemscope itemprop="blogPost" >
  <div id="articleInner" class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="thumb" itemprop="name">
      <a class="article-title" href="/newblog/2018/07/11/部署hexo博客到github/">部署hexo博客到github</a>
    </h1>
  

      </header>
    
    <div class="article-meta">
      
	<a href="/newblog/2018/07/11/部署hexo博客到github/" class="article-date">
	  <time datetime="2018-07-11T07:55:19.000Z" itemprop="datePublished">2018-07-11</time>
	</a>

      
    <a class="article-category-link" href="/newblog/categories/个人博客/">个人博客</a>

      
    </div>
    <div class="article-entry" itemprop="articleBody">
      
        <p class="article-excerpt-content">
          部署hexo博客到github准备工具&nbsp;&nbsp;&nbsp;&nbsp;Node.js&nbsp;&nbsp;&nbsp;&nbsp;Git&nbsp;&nbsp;&nbsp;&nbsp;GitHub
Hexo安装在新目录下输入命令：npm install -g hexo-cli
创建博客文件夹博客目录下输入命令：hexo init
安装依赖包npm install
修改配置文件修改_config.yml文件    url: http://github.com/    roo...
        </p>
        <p class="article-more-link">
          <a href="/newblog/2018/07/11/部署hexo博客到github/#more">Read More</a>
        </p>
      
    </div>
    <footer class="article-footer">
      
      
      
      

    </footer>
  </div>
  
</article>

<!-- Table of Contents -->


  


</section>
        
      </div>
      
        <div align="center" style="margin-top: 30px;"><hr class="hr" style="margin:0px; height:3px;"></div>
      
      <footer id="footer">
  

  <div class="container">
      	<div class="row">
	      <p> Powered by <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="https://github.com/lgsdaredevil/newblog/tree/resource-newblog" target="_blank">resource-newblog</a> </p>
	      <p id="copyRightEn">Copyright &copy; 2013 - 2018  All Rights Reserved.</p>
        <!--<p id="copyRightEn">Copyright &copy; 2013 - 2018 小森的博客 All Rights Reserved.</p> -->
	      
	      
    		<p class="busuanzi_uv">
				访客 : <span id="busuanzi_value_site_uv"></span> |  
				浏览量 : <span id="busuanzi_value_site_pv"></span>
		    </p>
  		   
		</div>

		
  </div>
</footer>


<!-- min height -->

<script>
    var wrapdiv = document.getElementById("wrap");
    var contentdiv = document.getElementById("content");
    var allheader = document.getElementById("allheader");

    wrapdiv.style.minHeight = document.body.offsetHeight + "px";
    if (allheader != null) {
      contentdiv.style.minHeight = document.body.offsetHeight - allheader.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    } else {
      contentdiv.style.minHeight = document.body.offsetHeight - document.getElementById("footer").offsetHeight + "px";
    }
</script>
    </div>
    <!-- <nav id="mobile-nav">
  
    <a href="/newblog/" class="mobile-nav-link">主页</a>
  
    <a href="/newblog/archives" class="mobile-nav-link">文章</a>
  
    <a href="/newblog/categories" class="mobile-nav-link">分类</a>
  
    <a href="/newblog/tags" class="mobile-nav-link">标签</a>
  
    <a href="/newblog/about" class="mobile-nav-link">关于</a>
  
</nav> -->
    

<!-- mathjax config similar to math.stackexchange -->

<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {
      inlineMath: [ ['$','$'], ["\\(","\\)"] ],
      processEscapes: true
    }
  });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
      tex2jax: {
        skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
      }
    });
</script>

<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>


  <link rel="stylesheet" href="/newblog/fancybox/jquery.fancybox.css">
  <script src="/newblog/fancybox/jquery.fancybox.pack.js"></script>


<script src="/newblog/js/scripts.js"></script>


  <script src="/newblog/js/home.js"></script>










	<div style="display: none;">
    <script src="https://s95.cnzz.com/z_stat.php?id=1260716016&web_id=1260716016" language="JavaScript"></script>
  </div>



	<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js">
	</script>






  </div>

  <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h2 class="modal-title" id="myModalLabel">设置</h2>
      </div>
      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">


      <div class="modal-body">
          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" onclick="javascript:setFontSize();" aria-expanded="true" aria-controls="collapseOne">
              正文字号大小
            </a>
          </div>
          <div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
          <div class="panel-body">
            您已调整页面字体大小
          </div>
        </div>
      


          <div style="margin:6px;">
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" onclick="javascript:setBackground();" aria-expanded="true" aria-controls="collapseTwo">
              夜间护眼模式
            </a>
        </div>
          <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
          <div class="panel-body">
            夜间模式已经开启，再次单击按钮即可关闭 
          </div>
        </div>

        <div>
            <a data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="true" aria-controls="collapseThree">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关 于&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
         <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
          <div class="panel-body">
            小森的博客
          </div>
          <div class="panel-body">
            Copyright © 2018 小森的博客 All Rights Reserved.
          </div>
        </div>
      </div>


      <hr style="margin-top:0px; margin-bottom:0px; width:80%; border-top: 1px solid #000;">
      <hr style="margin-top:2px; margin-bottom:0px; width:80%; border-top: 3px solid #000;">
      <div class="modal-footer">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
      </div>
    </div>
  </div>
</div>
  
  <a id="rocket" href="#top" class=""></a>
  <script type="text/javascript" src="/js/totop.js?v=1.0.0" async=""></script>
  
</body>
</html>